package day02;

public class DoubleDemo {
    public static void main(String[] args) {
        double a=6.2,b=4.1;
        System.out.println(a-b);
        double c=4,d=2.2;
        System.out.println(c-d);
        double e=9.0,f=4.3;
        System.out.println(e-f);
        double g=4.0,h=1.0;
        System.out.println(g-h);
        double x=10.5,y=5.6;
        System.out.println(x-y);
        a=b-c;
        System.out.println(a);

    }
}
